package com.example.service.impl.login;

import com.example.dao.login.UserDao;
import com.example.pojo.login.User;
import com.example.service.login.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public List<User> getUser() {
        return userDao.getUsers();
    }

    @Override
    public User getEquipFile(String accound) {
        return userDao.getUser(accound);
    }
}
